package com.huatai.datacenter.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author Lion
 * @date 2023/8/1  10:41
 */
@Data
@TableName("tb_rabbitmq_cluster")
@ApiModel("rabbitmq实体类")
public class RabbitMQEntity extends BaseEntity{

	@ApiModelProperty("id")
	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private Long id;

	@TableField("clusterName")
	@ApiModelProperty("集群名称")
	private String clusterName;

	@TableField("host")
	@ApiModelProperty("服务地址")
	private String host;

	@TableField("port")
	@ApiModelProperty("服务端口")
	private Integer port;

	@TableField("managePort")
	@ApiModelProperty("控制台端口")
	private String managePort;

	@TableField("exchangeName")
	@ApiModelProperty("交换机名称")
	private String exchangeName;

	@TableField("username")
	@ApiModelProperty("用户名称")
	private String username;

	@TableField("password")
	@ApiModelProperty("密码")
	private String password;

	@TableField("virtualHost")
	@ApiModelProperty("虚拟机")
	private String virtualHost;

	@TableField("status")
	@ApiModelProperty("运行状态")
	private Integer status;
}
